{if ($file != 'sale' && $file != 'newhouse') || ($file == 'sale' && $itemid)}
<div class="tit"><span class="fl"></span>
          <h1>{$side_name[$HS]}</h1>
          <span class="fr"></span></div>
 <div class="box_bottom">
<!--{php $tags=tag("table=type&condition=item='product-".$userid."'&pagesize=".$side_num[$HS]."&order=listorder asc,typeid desc&template=null");}-->
<ul>
{if $tags}
<li id="type_0"><a href="{userurl($username, 'file=sale', $domain)}">全部分类</a></li>
{loop $tags $t}
<li id="type_{$t[typeid]}"><a href="{userurl($username, 'file=sale&typeid='.$t['typeid'], $domain)}" title="{$t[typename]}">{set_style($t[typename], $t[style])}</a></li>
{/loop}
{else}
<li>暂无分类</li>
{/if}
</ul>
</div>
{/if}
